let mysql = require('mysql')

let connection = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    password: 'root',
    database: 'blog',
    multipleStatements: true // 这句话表示可以同时执行多个sql语句
})

connection.connect()
module.exports = connection